This Stack should suggest how a non Pascal - C programmer may read Hermes' files stored in the DATA folder of your Hermes Files.
By now, in this little example Stack you can read only (no editing) the Hermes "Transfer Sections Files". The long description (inside the resource fork) is not read. This is not a faster way to get the data but......
For begin to use this Stack, you must create a new card with the "New" button. You could use the button "Index" to create automatically a Stack with ALL your DATA files. See below how the "Index" card works.
This version works well with HyperCard 2.2. However, you may use it with older HC versions: you must comment all the "enable" commands in the scripts and comment the "selectedText" instruction inside the script of the "Preferences" card.
Very small help:
Main Card
The "Data Import" button allows selection of the Data file you want to import (you can find these files in the Hermes File:Data folder:). Holding the command key stop the import.
The "TAB Export" button creates a tab delimited text file. You can use this file in spreadsheets, word processors and data bases. Some tips inside the script.....
NOTE: you may use these button after creating a New Card.
"Index" Card
The "Update !" button asks for the Path of Hermes Data folders to create all the path essential to the "Mega Import" button
The "Mega Import" button imports ALL the DATA files you have online.......after a while ! ;-)
It will *CLEAR* the old datas from the card: if the card has had more than two data files - this may happens using the "manual" data import - the fields are CLEARED.
All other buttons/features are self-esplicative.....
Tips: you may disable the "set the cursor to busy" to speed up a little more the data import. You may also hold down the command key to stop the import. During the "Mega Import" holding the command key for few ticks you stop the import for the displayed DATA file. Holding more you stop the all the import.
Warning :
HyperCard 2.0 - 2.2 may store only 30000 chars in a single field. There is no control for this.
I havn't disabled any menu (copy card new card etc etc) and the arrow keys.
no big works done. This release works with Hermes' 3.x files.
In the new format, the "Data" files dosn't store the uploader's name even the docs says it "must be there"..... However, the field in this stack remains.....
The other few information about the file (type, creator, TapeVolume, SolowVolume etc) are avoided...
(12 oct 1994) versione 1.0:
Changed the first card of the stack. ;-)
Add the "Preferences" card and the possibility to import all the DATA
files with just ONE click.
The "TAB export" works on ONE card ALL cards now. Changed the "do" routine also. HC 2.2 is even more solow. Sigh.
The User Name field has been hidden.
The File Lenght field has been shown.
(13 oct 1994) versione 1.0.1:
Renamed the "Prefs" button to "Index". Making the 1.0, I have "Preferences" in my head and.......bha! "Index" seems better.
The "title" fields now is no more cleared after a data import.
From the Index card, selecting a Directory name, now jump to the card of that Dir. Holding the option key the Directory's card will be updated or created. This adds work with HC 2.2 only.